package espaceVisuCarre.java2Dutil;


import java.awt.Graphics2D;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.util.Collection;

import xmlItunes.Track;


public interface IDrawable {
	/**
	 * @pre: g!=null
	 * @post: configuration de g inchang�e
	 */
	public abstract void draw(Graphics2D g);

	/**
	 * @pre:
	 * @return le rectangle  qui contient compl�tement this.
	 */
	public abstract Rectangle2D.Float getRectangle();
	
	public boolean contains( Point2D p );
	
	
	public Collection<Track> getTracks();
	
}